home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 63 6f 6d 70 75 |Path: ne|ws.compu|
|00000010| 74 65 6b 2e 6e 65 74 21 | 6e 65 77 73 0a 46 72 6f |tek.net!|news.Fro|
|00000020| 6d 3a 20 47 72 65 67 20 | 45 61 74 6f 6e 20 3c 67 |m: Greg |Eaton <g|
|00000030| 65 61 74 6f 6e 40 63 6f | 6d 70 75 74 65 6b 2e 6e |eaton@co|mputek.n|
|00000040| 65 74 3e 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |et>.News|groups: |
|00000050| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 2b 2b 0a 53 75 |comp.lan|g.c++.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 70 61 73 73 69 |bject: R|e: passi|
|00000070| 6e 67 20 73 74 72 75 63 | 74 20 74 6f 20 63 6f 6e |ng struc|t to con|
|00000080| 73 74 72 75 63 74 6f 72 | 20 20 2d 20 20 74 65 6d |structor| - tem|
|00000090| 70 2e 74 78 74 20 5b 31 | 2f 31 5d 0a 44 61 74 65 |p.txt [1|/1].Date|
|000000a0| 3a 20 46 72 69 2c 20 30 | 32 20 46 65 62 20 31 39 |: Fri, 0|2 Feb 19|
|000000b0| 39 36 20 30 31 3a 30 34 | 3a 33 32 20 2d 30 36 30 |96 01:04|:32 -060|
|000000c0| 30 0a 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |0.Organi|zation: |
|000000d0| 48 61 6c 66 2d 45 61 74 | 6f 6e 20 45 6e 74 65 72 |Half-Eat|on Enter|
|000000e0| 70 72 69 73 65 73 0a 4d | 65 73 73 61 67 65 2d 49 |prises.M|essage-I|
|000000f0| 44 3a 20 3c 33 31 31 31 | 42 37 38 30 2e 39 31 38 |D: <3111|B780.918|
|00000100| 40 63 6f 6d 70 75 74 65 | 6b 2e 6e 65 74 3e 0a 52 |@compute|k.net>.R|
|00000110| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 34 65 71 67 |eference|s: <4eqg|
|00000120| 71 33 24 35 67 31 40 67 | 65 72 61 6c 64 6f 2e 63 |q3$5g1@g|eraldo.c|
|00000130| 63 2e 75 74 65 78 61 73 | 2e 65 64 75 3e 0a 52 65 |c.utexas|.edu>.Re|
|00000140| 70 6c 79 2d 54 6f 3a 20 | 67 65 61 74 6f 6e 40 63 |ply-To: |geaton@c|
|00000150| 6f 6d 70 75 74 65 6b 2e | 6e 65 74 0a 4e 4e 54 50 |omputek.|net.NNTP|
|00000160| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 64 |-Posting|-Host: d|
|00000170| 65 6e 33 37 32 2e 63 6f | 6d 70 75 74 65 6b 2e 6e |en372.co|mputek.n|
|00000180| 65 74 0a 4d 69 6d 65 2d | 56 65 72 73 69 6f 6e 3a |et.Mime-|Version:|
|00000190| 20 31 2e 30 0a 43 6f 6e | 74 65 6e 74 2d 54 79 70 | 1.0.Con|tent-Typ|
|000001a0| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|000001b0| 68 61 72 73 65 74 3d 75 | 73 2d 61 73 63 69 69 0a |harset=u|s-ascii.|
|000001c0| 43 6f 6e 74 65 6e 74 2d | 54 72 61 6e 73 66 65 72 |Content-|Transfer|
|000001d0| 2d 45 6e 63 6f 64 69 6e | 67 3a 20 37 62 69 74 0a |-Encodin|g: 7bit.|
|000001e0| 58 2d 4d 61 69 6c 65 72 | 3a 20 4d 6f 7a 69 6c 6c |X-Mailer|: Mozill|
|000001f0| 61 20 32 2e 30 62 35 20 | 28 4d 61 63 69 6e 74 6f |a 2.0b5 |(Macinto|
|00000200| 73 68 3b 20 49 3b 20 36 | 38 4b 29 0a 54 6f 3a 20 |sh; I; 6|8K).To: |
|00000210| 22 57 2e 20 48 61 72 72 | 69 73 22 20 3c 77 68 61 |"W. Harr|is" <wha|
|00000220| 72 72 69 73 40 6d 61 69 | 6c 2e 75 74 65 78 61 73 |rris@mai|l.utexas|
|00000230| 2e 65 64 75 3e 0a 0a 57 | 2e 20 48 61 72 72 69 73 |.edu>..W|. Harris|
|00000240| 20 77 72 6f 74 65 3a 0a | 3e 20 0a 3e 20 54 68 65 | wrote:.|> .> The|
|00000250| 20 63 6f 6d 70 69 6c 65 | 72 20 65 72 72 6f 72 20 | compile|r error |
|00000260| 49 27 6d 20 67 65 74 74 | 69 6e 67 20 69 73 20 22 |I'm gett|ing is "|
|00000270| 56 49 4e 20 69 73 20 6e | 6f 74 20 61 20 6d 65 6d |VIN is n|ot a mem|
|00000280| 62 65 72 20 6f 66 20 73 | 74 72 75 63 74 31 22 2e |ber of s|truct1".|
|00000290| 20 20 54 68 65 0a 3e 20 | 63 6f 64 65 20 68 61 73 | The.> |code has|
|000002a0| 20 62 65 65 6e 20 73 65 | 76 65 72 65 6c 79 20 6d | been se|verely m|
|000002b0| 69 6e 69 6d 69 7a 65 64 | 2c 20 68 6f 77 65 76 65 |inimized|, howeve|
|000002c0| 72 20 74 68 69 73 20 73 | 68 6f 75 6c 64 20 68 61 |r this s|hould ha|
|000002d0| 76 65 20 74 68 65 20 62 | 61 72 65 0a 3e 20 65 73 |ve the b|are.> es|
|000002e0| 73 65 6e 74 69 61 6c 73 | 20 72 65 71 75 69 72 65 |sentials| require|
|000002f0| 64 20 74 6f 20 73 6f 6c | 76 65 20 74 68 65 20 70 |d to sol|ve the p|
|00000300| 72 6f 62 6c 65 6d 2e 0a | 3e 20 0a 3e 20 63 6c 61 |roblem..|> .> cla|
|00000310| 73 73 20 43 61 72 44 61 | 74 61 0a 3e 20 20 20 20 |ss CarDa|ta.> |
|00000320| 20 7b 0a 3e 20 20 20 20 | 20 70 72 69 76 61 74 65 | {.> | private|
|00000330| 20 3a 0a 3e 20 0a 3e 20 | 20 20 20 20 63 68 61 72 | :.> .> | char|
|00000340| 20 56 49 4e 5b 37 5d 3b | 0a 3e 20 0a 3e 20 20 20 | VIN[7];|.> .> |
|00000350| 20 20 70 75 62 6c 69 63 | 20 3a 0a 3e 20 0a 3e 20 | public| :.> .> |
|00000360| 20 20 20 20 43 61 72 44 | 61 74 61 28 73 74 72 75 | CarD|ata(stru|
|00000370| 63 74 20 61 73 74 72 75 | 63 74 31 20 43 61 72 49 |ct astru|ct1 CarI|
|00000380| 6e 66 29 3b 0a 3e 20 0a | 3e 20 20 20 20 20 7d 3b |nf);.> .|> };|
|00000390| 0a 3e 20 20 20 20 20 2f | 2f 2a 2a 2a 2a 2a 2a 2a |.> /|/*******|
|000003a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000003b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000003c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000003d0| 2a 0a 3e 20 0a 3e 20 20 | 20 20 20 20 43 61 72 44 |*.> .> | CarD|
|000003e0| 61 74 61 3a 3a 43 61 72 | 44 61 74 61 28 73 74 72 |ata::Car|Data(str|
|000003f0| 75 63 74 20 61 73 74 72 | 75 63 74 31 20 43 61 72 |uct astr|uct1 Car|
|00000400| 49 6e 66 29 0a 3e 20 20 | 20 20 20 20 20 7b 0a 3e |Inf).> | {.>|
|00000410| 20 20 20 20 20 20 20 73 | 74 72 63 70 79 28 56 49 | s|trcpy(VI|
|00000420| 4e 2c 43 61 72 49 6e 66 | 2e 56 49 4e 29 3b 0a 3e |N,CarInf|.VIN);.>|
|00000430| 20 20 20 20 20 20 20 7d | 0a 0a 54 68 65 20 70 72 | }|..The pr|
|00000440| 6f 62 6c 65 6d 20 69 73 | 20 74 68 61 74 20 79 6f |oblem is| that yo|
|00000450| 75 20 72 65 66 65 72 65 | 6e 63 65 20 43 61 72 49 |u refere|nce CarI|
|00000460| 6e 66 2e 56 49 4e 20 62 | 65 66 6f 72 65 20 79 6f |nf.VIN b|efore yo|
|00000470| 75 20 68 61 76 65 20 74 | 6f 6c 64 0a 74 68 65 20 |u have t|old.the |
|00000480| 63 6f 6d 70 69 6c 65 72 | 20 74 68 61 74 20 56 49 |compiler| that VI|
|00000490| 4e 20 69 73 20 69 6e 64 | 65 65 64 20 61 20 6d 65 |N is ind|eed a me|
|000004a0| 6d 62 65 72 20 6f 66 20 | 73 74 72 75 63 74 20 61 |mber of |struct a|
|000004b0| 73 74 72 75 63 74 31 2e | 20 20 49 66 0a 79 6f 75 |struct1.| If.you|
|000004c0| 20 6d 6f 76 65 20 74 68 | 65 20 66 6f 72 74 68 63 | move th|e forthc|
|000004d0| 6f 6d 69 6e 67 20 64 65 | 66 69 6e 69 74 69 6f 6e |oming de|finition|
|000004e0| 2e 2e 2e 0a 0a 3e 20 0a | 3e 20 20 20 20 20 20 20 |.....> .|> |
|000004f0| 73 74 72 75 63 74 20 61 | 73 74 72 75 63 74 31 0a |struct a|struct1.|
|00000500| 3e 20 20 20 20 20 20 20 | 20 20 7b 0a 3e 20 20 20 |> | {.> |
|00000510| 20 20 20 20 20 20 63 68 | 61 72 20 56 49 4e 5b 37 | ch|ar VIN[7|
|00000520| 5d 3b 0a 3e 20 20 20 20 | 20 20 20 20 20 7d 43 61 |];.> | }Ca|
|00000530| 72 49 6e 66 6f 3b 0a 0a | 2e 2e 2e 28 59 65 61 68 |rInfo;..|...(Yeah|
|00000540| 2c 20 74 68 61 74 27 73 | 20 74 68 65 20 6f 6e 65 |, that's| the one|
|00000550| 29 20 74 6f 20 61 20 70 | 6f 73 69 74 69 6f 6e 20 |) to a p|osition |
|00000560| 70 72 65 63 65 64 69 6e | 67 20 74 68 65 20 63 6c |precedin|g the cl|
|00000570| 61 73 73 20 43 61 72 44 | 61 74 61 0a 64 65 63 6c |ass CarD|ata.decl|
|00000580| 61 72 61 74 69 6f 6e 2c | 20 74 68 65 6e 20 74 68 |aration,| then th|
|00000590| 65 20 63 6f 6d 70 69 6c | 65 72 20 65 72 72 6f 72 |e compil|er error|
|000005a0| 20 77 69 6c 6c 20 64 69 | 73 61 70 70 65 61 72 2e | will di|sappear.|
|000005b0| 0a 0a 2d 2d 20 0a 20 20 | 20 20 20 20 20 20 20 20 |..-- . | |
|000005c0| 20 20 20 20 20 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | --|--------|
|000005d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 20 20 20 |--------|----. |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 22 53 6f | | "So|
|00000600| 20 6c 6f 6e 67 20 61 6e | 64 20 74 68 61 6e 6b 73 | long an|d thanks|
|00000610| 20 66 6f 72 20 61 6c 6c | 20 74 68 65 20 66 69 73 | for all| the fis|
|00000620| 68 21 22 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |h!".. | |
|00000630| 20 20 20 20 20 47 72 65 | 67 20 45 61 74 6f 6e 0a | Gre|g Eaton.|
+--------+-------------------------+-------------------------+--------+--------+